<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head> 
   <meta charset="UTF-8">
   <%@ include file="/WEB-INF/views/include/head.jsp"%>
   <link rel="stylesheet" href="${ctxStatic}/css/common_erp.css">
   <link rel="stylesheet" href="${ctxStatic}/css/layerSm.css">
   <script src="${ctxStatic}/js/jquery-1.9.1.min.js"></script>
   <script src="${ctxStatic}/js/layer.js"></script>
   <script src="${ctxStatic}/js/style.js"></script>
   <script>

    
 	
   </script>
</head>
<body>
<div class="layerHeader clearfix">
	<p class="headerTitle"><spring:message code="quality_instructions" /></p>
    <div class="headerButton clearfix">
        <!-- 取消 -->
        <button type="button" onclick="closeWin();"><spring:message code="inventory_detail_set_close" /></button>
    </div>
</div>
<form id="inputForm" method="post">
<div style="height: 20px;padding: 17px 10px;">
     <p class="tit"><spring:message code="quality_Details" /></p>
</div>
<div class="tableArea">
    <div class="tableScrollSm" style="overflow:auto;width:870px;height:490px;">
        <table cellpadding="0" class="tableHead">
            <thead>
            <tr>
                <!-- No -->
                <th><p class="tab-ddcz"><spring:message code="common_no" /></p></th>
                <!-- 款号 -->
                <th><p style="width:150px;"><spring:message code="order_styleNo" /></p></th>
                <!-- 款式名称 -->
                <th><p style="width:120px;"><spring:message code="quality_styleNameCn" /></p></th>
                <!-- 质检项目 -->
                <th><p style="width:200px;"><spring:message code="quality_item" /></p></th>
                <%-- <!-- 具体内容 -->
                <th><p style="width:155px;"><spring:message code="quality_specific_content" /></p></th>
                <!-- 项目代码 -->
                <th><p style="width:120px;"><spring:message code="quality_code" /></p></th> --%>
                <!-- 检查结果 -->
                <th><p style="width:80px;"><spring:message code="quality_result" /></p></th> 
                <!-- 质检人员 -->
                <th><p style="width:120px;"><spring:message code="quality_updateUser" /></p></th>
                <!-- 质检日期 -->
                <th><p style="width:120px;"><spring:message code="quality_updateDate" /></p></th>                              
            </tr>
            </thead>
        </table>
        <table cellpadding="0" class="tableBody" id="tableInventoryRequestDetails">
        <c:if test="${not empty qualityResultDetailsList}">
            <tbody>
            <c:forEach items="${qualityResultDetailsList}" var="requestDetailsInfo" varStatus="status">
            <tr>
               <!-- No -->
                <td><p class="tab-ddcz">${status.index+1}</p></td>
                <!-- 款号 -->
                <td><p style="width:150px;">${requestDetailsInfo.styleNo }</p></td>
                <!-- 款式名称 -->
                <td><p style="width:120px;">${requestDetailsInfo.styleNameCN }</p></td>
                <!-- 质检项目 -->
                <td><p style="width:200px;">${requestDetailsInfo.qcItem }</p></td>
                <%-- <!-- 具体内容 -->
                <td><p style="width:155px;">${requestDetailsInfo.qcContent }</p></td>
                <!-- 项目代码 -->
                <td><p style="width:120px;">${requestDetailsInfo.qcCode }</p></td> --%>
                <!-- 检查结果 -->
                <td><p style="width:80px;color: red;"><spring:message code="quality_NoPass" /></p></td>      
                <td><p style="width:120px;">${requestDetailsInfo.updateBy.firstName }${requestDetailsInfo.updateBy.lastName }</p></td>
                <td><p style="width:120px;"><fmt:formatDate value="${requestDetailsInfo.updateDate }" pattern="yyyy-MM-dd"/></p></td>  
            </tr>
            </c:forEach>
            </tbody>
        </c:if>    
        </table>
    </div>
</div>
</form>
</body>
</html>